dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "rdbms: make LBFactory close/rollback dangling handles like LoadBalancer"
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiQueryBase.php
diff --git
a/includes/api/ApiQueryBase.php
b/includes/api/ApiQueryBase.php
index
846a8b1
..
10db848
100644
(file)
--- a/
includes/api/ApiQueryBase.php
+++ b/
includes/api/ApiQueryBase.php
@@
-600,7
+600,8
@@
abstract class ApiQueryBase extends ApiBase {
* @return bool
*/
public function userCanSeeRevDel() {
- return $this->getUser()->isAllowedAny(
+ return $this->getPermissionManager()->userHasAnyRight(
+ $this->getUser(),
'deletedhistory',
'deletedtext',
'suppressrevision',